-- GENERATED SPELL FOR [Lost Barrens Kodo] --


function spell0_3234(pUnit, Event) --@Kodo Stomp,Self--
pUnit:FullCastSpellOnTarget(6266,pUnit)
pUnit:RegisterEvent('Sorts_3234', 3000, 1)
end

function Sorts_3234(pUnit, Event)
local choix_sorts_3234 = math.random(0, 0)
if choix_sorts_3234 == 0 then
pUnit:RegisterEvent('spell0_3234', 1, 1)
end
end

function mob3234_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3234', math.random(1500, 3000), 1)
end

function mob3234_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3234_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3234_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3234, 1, 'mob3234_Action')
RegisterUnitEvent(3234, 2, 'mob3234_Leave')
RegisterUnitEvent(3234, 3, 'mob3234_Kill')
RegisterUnitEvent(3234, 4, 'mob3234_Die')
